package com.ems.service.impl.Invigilate.room;

import com.ems.dao.Invigilate.room.TestQuestionsDao;
import com.ems.pojo.Invigilate.room.TestQuestions;
import com.ems.service.Invigilate.room.TestQuestionsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: 伟伟
 * @Date: 2020/2/20
 * @Description: 描述
 * @Version: 1.0
 */
@Service("testQuestionsService")
public class TestQuestionsServiceImpl implements TestQuestionsService {
    @Autowired
    private TestQuestionsDao testQuestionsDao;

    //添加
    @Override
    public void addTestQuestions(TestQuestions testQuestions) {
        testQuestionsDao.addTestQuestions(testQuestions);
    }

    @Override
    public void deleteByEpId(int ep_id) {
        testQuestionsDao.deleteByEpId(ep_id);
    }
}
